package com.zhouyu;

import com.zhouyu.service.OrderInterface;
import com.spring.ZhouyuApplicationContext;

public class Test {
    public static void main(String[] args) {
        ZhouyuApplicationContext zhouyuApplicationContext = new ZhouyuApplicationContext(AppConfig.class);

        OrderInterface orderService = (OrderInterface) zhouyuApplicationContext.getBean("orderService");
        orderService.test();





    }
}
